package com.example.demo.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@CrossOrigin
@RestController
public class TextController {
    @RequestMapping("")
    public static String test(){
        return "返回值";
    }
    public static void main(String[] args){
        String test = test();
        System.out.println(test);
    }
}
